package com.webcamtracker.color.segmentation;

import java.util.Comparator;


public class SizeSegmentComparator implements Comparator<Segment> {

    public int compare(Segment o1, Segment o2) {
        return o2.getPoints().size() - o1.getPoints().size();
    }
}
